var Api = require('../../../utils/api.js');
var wxRequest = require('../../../utils/wxRequest.js')
import config from '../../../utils/config.js'
Page({
  data: {
    title: '我的质保',
    page: 1,
    search: '', 
    showerror:"none", 
    showallDisplay: "block",
    displaySwiper: "block",
    floatDisplay: "none",
    isZb:true,
    nullPath:'https://qixuan1.oss-cn-hangzhou.aliyuncs.com/file/20230221130739926.jpg',
    windowHeight:'100%',
    windowWidth:'100%'
  },
  onLoad: function (options) {
    var self = this;
    wx.getSystemInfo({
      success: (result) => {
        console.log(result);
        self.setData({
          windowHeight:result.safeArea.height - result.statusBarHeight,
          windowWidth:result.windowWidth
        })
      },
    })
  }, 
  searchWarranty:function(e){
    wx.navigateTo({
      url: '../searchwarranty/index' 
    })
  },

})



